package cn.autoOffice.service;

import cn.autoOffice.bean.pojo.Leave;
import org.apache.ibatis.annotations.Param;

import java.util.List;

//请假业务层
public interface LeaveService {
    //添加请假信息
    boolean addLeaveInfo(Leave leave);

    //查看请假信息
    List<Leave> findExclusiveLeave(String empName);

    //审批请假信息
    boolean updateLeaveState(Leave leave);
}
